body {
  background-color: #f5f5f5;
}

.container {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #429ad9;
}

/* 头部样式 */
.logo {
  background-color: #429ad9;
  padding: 10px 0;
}

.logo img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.logo span {
  display: block;
  height: 50px;
  line-height: 50px;
  color: #fff;
  font-size: 18px;
  text-align: center;
}

.left-nav {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}

.left-nav ul li {
  text-align: center;
}

.left-nav a {
  display: block;
  line-height: 50px;
  font-size: 16px;
  padding: 0 10px;
}

.left-nav a:hover {
  background-color: #fff;
  color: #333;
}

.left-nav ul li a i {
  padding-right: 5px;
  color: #429ad9;
}

/* 新闻内容区 */
.news li {
  float: left;
  width: 25%;
  height: 128px;
  padding-right: 10px;
  margin-bottom: 10px;
}

.news li a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.news li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.news li a:hover img {
  transform: scale(1.05);
}

.news li a p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 41px;
  margin-bottom: 0;
  padding: 5px 10px;
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 12px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news li:nth-child(1) {
  width: 50%;
  height: 266px;
}

.news li:nth-child(1) a p {
  line-height: 41px;
  font-size: 20px;
  padding: 0 10px;
}

/* 发布内容区 */
.publish {
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

.publish .row {
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
  margin: 0;
}

.publish .row:hover {
  background-color: #f9f9f9;
}

.publish h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

.publish p {
  margin-bottom: 5px;
}

.publish .text-muted {
  font-size: 12px;
}

.publish .text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.5;
}

.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* 侧边栏 */
.banner img {
  width: 100%;
  border-radius: 5px;
}

.hot {
  display: block;
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s;
}

.hot:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.hot span {
  margin: 0 0 15px;
}

.hot h6 {
  margin: 10px 0;
}

.hot p {
  font-size: 14px;
  line-height: 1.5;
}

/* 响应式设计 */
@media screen and (max-width: 991px) {
  .news li {
    width: 50% !important;
  }

  .news li:nth-child(1) {
    width: 100% !important;
  }
}

@media screen and (max-width: 767px) {
  .left-nav ul li {
    float: left;
    width: 20%;
  }

  .left-nav a {
    font-size: 14px;
    padding: 0 5px;
  }

  article {
    margin-top: 10px;
  }

  .news li {
    width: 100% !important;
    padding-right: 0;
  }

  .publish .row {
    padding: 10px 0;
  }
}

@media screen and (max-width: 575px) {
  .left-nav ul li {
    width: 33.33%;
  }

  .logo span {
    font-size: 16px;
  }
}